package com.czwj.service;

import java.util.List;
import java.util.Map;

import com.czwj.entities.InspectionItem;

public interface InspectionItemService {

	List<InspectionItem> search(Map<String, Object> map);

	int count(Map<String, Object> map);

	int update(InspectionItem inspectionItem);

	int insert(InspectionItem inspectionItem);

	int updateStatus(int id);
	
	int updateStatusOpen(int id);

	InspectionItem selectByPrimaryKey(int inspectionItemId);

	InspectionItem searchBySort(Map<String, Object> map);

	int sortReduce(InspectionItem ii);

	int sortAdd(InspectionItem ii0);
}
